package br.infotec.deptmusica.diasemana;

import java.util.List;

import br.infotec.deptmusica.util.DAOFactory;

public class DiaSemanaBO {
	
	private DiaSemanaDAO diaSemanaDAO;

	public DiaSemanaBO() {
		this.diaSemanaDAO = DAOFactory.criaConexaoDiaSemana();
	}

	public List<DiaSemana> lista(){
		return diaSemanaDAO.lista();
	}
	
	public DiaSemanaDAO getDiaSemanaDAO() {
		return diaSemanaDAO;
	}

	public void setDiaSemanaDAO(DiaSemanaDAO diaSemanaDAO) {
		this.diaSemanaDAO = diaSemanaDAO;
	}
	
	
	
}
